@import '../assets/import.less';

.co-list {
  margin-top: 0;
  padding: 0;
  color: @textColor;
  display: block;
  position: relative;
  > li {
    margin: 0;
    display: block;
    &:last-child {
      .co-list-item {
        .hairline-remove(bottom);
      }
    }
  }
}


.co-list-item {
  display: flex;
  justify-content: space-between;
  padding: 34px 24px;
  font-size: 28px;
  min-height: 100px;
  line-height: 1;
  position: relative;
  background-color: @blockBackgroundColor;
  .hairline(bottom, @borderColor);
  &::after {
    left: 24px;
    right: 24px;
    width: auto;
  }
  .co-list--margin & {
    margin-top: 16px;
    .hairline-remove(bottom);
  }
}

.co-list--margin > li:first-child .co-list-item {
  margin-top: 0;
}

.co-list-item-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  text-align: right;
  white-space: normal;
  word-wrap: break-word;
  font-size: 24px;
  color: @secondaryTextColor;
}

.co-list-item--button {
  width: 100%;
  outline: none;
  appearance: none;
  user-select: none;
  color: @textColor;
  position: relative;
  .active-highlight(.1, @textColor);
}

.co-list-item-link {
  color: @hintColor;
  font-size: 30px;
  margin-left: 15px;
}

.co-list-item-after-text {
  color: @hintColor;
}

.co-list--form {
  .co-list-item {
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }
  .co-input {
    font-size: 28px;
    height: 100px;
    padding-right: 0;
    flex: 1;
    &::after {
      content: none;
    }
  }
  .co-select__icon {
    display: none;
  }
  .co-select__content {
    text-align: left;
    justify-content: start;
  }
}
